package com.ruoyi.ifmEnlistIand.mapper;

import java.util.List;

import com.ruoyi.firefighterTrainingTable.domain.FirefighterTrainingTable;
import com.ruoyi.screeningDate.domain.Performance;
import com.ruoyi.screeningDate.domain.PerformanceT;


/**
 * 体能科目训练登记Mapper接口
 *
 * @author ruoyi
 * @date 2024-10-29
 */
public interface FirefighterTrainingTableMapper
{
    /**
     * 查询体能科目训练登记
     *
     * @param id 体能科目训练登记主键
     * @return 体能科目训练登记
     */
    public FirefighterTrainingTable selectFirefighterTrainingTableById(Long id);

    /**
     * 查询体能科目训练登记列表
     *
     * @param firefighterTrainingTable 体能科目训练登记
     * @return 体能科目训练登记集合
     */
    public List<FirefighterTrainingTable> selectFirefighterTrainingTableList(FirefighterTrainingTable firefighterTrainingTable);

    /**
     * 新增体能科目训练登记
     *
     * @param firefighterTrainingTable 体能科目训练登记
     * @return 结果
     */
    public int insertFirefighterTrainingTable(FirefighterTrainingTable firefighterTrainingTable);

    /**
     * 修改体能科目训练登记
     *
     * @param firefighterTrainingTable 体能科目训练登记
     * @return 结果
     */
    public int updateFirefighterTrainingTable(FirefighterTrainingTable firefighterTrainingTable);

    /**
     * 删除体能科目训练登记
     *
     * @param id 体能科目训练登记主键
     * @return 结果
     */
    public int deleteFirefighterTrainingTableById(Long id);

    /**
     * 批量删除体能科目训练登记
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFirefighterTrainingTableByIds(Long[] ids);

    List<FirefighterTrainingTable > selectByNameAndId(Performance performance);
}
